package top.appx.vo;

import top.appx.entity.FoodEntity;

import java.sql.Timestamp;

/**
 * Created by john on 2015/7/12.
 */
public class FoodVO {
    private FoodEntity entity;
    public FoodVO(FoodEntity entity){
        this.entity = entity;
    }

    public int getId() {
        return entity.getId();
    }

    public String getRname() {
        return entity.getRname();
    }

    public String getComment() {
        return entity.getComment();
    }

    public String getImg() {
        return entity.getImg();
    }
    public Double getPrice(){return entity.getPrice();}
    public Timestamp getCreateTime(){return entity.getCreateTime();}
    public Timestamp getModifyTime(){return entity.getModifyTime();}

    public Integer getCuisine() {
        return entity.getCuisine();
    }

    public Integer getStatus() {
        return entity.getStatus();
    }

    public Integer getStore() {
        return entity.getStore();
    }

    private String cuisineRname;
    private String storeRname;

    public String getCuisineRname() {
        return cuisineRname;
    }
    public String getStoreRname() {
        return storeRname;
    }
    public void setStoreRname(String storeRname) {
        this.storeRname = storeRname;
    }

    public void setCuisineRname(String cuisineRname) {
        this.cuisineRname = cuisineRname;
    }
}
